home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: printf - adding commas to numbers
- Date: Sat, 13 Jan 96 17:29:13 GMT
- Organization: none
- Message-ID: <821554153snz@genesis.demon.co.uk>
- References: <4d15eq$lc5@ixnews2.ix.netcom.com> <4d3b5l$fsm@news.infi.net> <4d66rt$cc0@cloner3.netcom.com>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4d66rt$cc0@cloner3.netcom.com>
- chuckh@ix.netcom.com "Chuck Hamilton" writes:
-
- >When was the last time you used an "*" in a print
- >specifier to pass the length of the output as a variable?
-
- That's a feature of printf I've used quite frequenty. By comparison
- the number of times I would have found comma delimiting useful are small.
- I suppose the alternate form flag '#' could have been used to indicate a
- locale-specific format for decimal integer conversion specifier. However
- you would be very unlikely to get a guarantee from the standard of a
- particular form unless it is effectively an international standard.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-